<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<title></title>
	</head>
	<body>
	</body>
	<script type="text/javascript">
		for(var i=0;i<5;i++){
			setTimeout(function(){
				console.log(i);
			},1000)
		}
	</script>
</html>
